package com.bush.mall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.coupon.entity.SpuBoundsEntity;

/**
 * 商品spu积分设置
 * @author RUN
 * @date 2022-11-29
 */
public interface SpuBoundsService extends IService<SpuBoundsEntity> {

    public static final String BEAN_ID = "mall.spuBoundsService";

    /**
     * 分页查询商品spu积分设置列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建商品spu积分设置表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveSpuBounds(SpuBoundsEntity spuBounds);


    /**
     * 修改商品spu积分设置表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateSpuBounds(SpuBoundsEntity spuBounds);

    /**
     * 删除指定ID的商品spu积分设置
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteSpuBounds(Long id);

}

